package com.example.aitoedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName tea_sign
 */
@TableName(value ="tea_sign")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeaSign implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer type;

    private Long tid;

    private Long cid;

    private Integer isEnd;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime endTime;

    private String position;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}